package com.SC1.dao;

import com.SC1.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper  //使用mybatis的话用这个比较好，@Repository在插入有时有问题

public interface PaymentDao {
    public int create(Payment payment);
    public Payment getPaymentById(@Param("id") Long id);
}
